Title Banner


Technical Q&A's


QD 22 - White Text on Black Background (15-Sept-95)


Q I've tried in vain to find a way to show white text on a black background. Is there a way to do this, and if so, how?

A The trick is to use the srcBic pen mode:

	FillRect(theRect, black); 
	PenMode(srcBic); 
	DrawString(myString);

Note that this technique is for on-screen viewing, not for printing to a PostScript printer.

Technical Support
Technical Q&As
Previous Question | Contents | Next Question

Navigation graphic, see text links

Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help